package com.assignwork.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import org.springblade.core.tool.utils.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * DynamicForm
 */
@Data
@TableName("dynamic_form")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DynamicForm对象", description = "动态表单")
public class DynamicForm extends BaseEntity {

    /** 日期 */
    @DateTimeFormat(pattern = DateUtil.PATTERN_DATE)
    @JsonFormat(pattern = DateUtil.PATTERN_DATE)
    @ApiModelProperty(value = "日期")
    private LocalDate formDate;
    
    /** 类型 */
    @ApiModelProperty(value = "类型")
    private String formType;
    
    /** 行内容 */
    @ApiModelProperty(value = "行内容")
    private String columnsKey;
    
    /** 列内容 */
    @ApiModelProperty(value = "列内容")
    private String rowsKey;
    
}